import React, { FC } from'react';
import {Tabs} from 'antd' 
import { FileTextOutlined,SettingOutlined } from '@ant-design/icons';
import ComponentProp from './ComponentProp'
const RightPanel: FC = () => {
    const tabsItems=[
        {
            key:"props",
            label:<span><FileTextOutlined/>属性</span>,
            children:<ComponentProp/>
        },{
            key:"setting",
            label:<span><SettingOutlined/>设置</span>,
            children:<div>页面设置</div>
        }
    ]
    return <Tabs items={tabsItems} defaultActiveKey='props'/>
}
export default RightPanel;